﻿namespace Adalbertus.BudgetPlanner.Domain.Repositories
{
    public interface IRepositoryFactory
    {
        IRepository<TDomain> CreateRepository<TDomain>(IUnitOfWork unitOfWork);

        IBudgetRepository CreateBudgetRepository(IUnitOfWork unitOfWork);
        ICashFlowRepository CreateCashFlowRepository(IUnitOfWork unitOfWork);
    }
}
